Add styles for new Kompass formats.
authoroliskoli <oliskoli>
Sat, 27 Jan 2007 21:57:12 +0000 (21:57 +0000)
committeroliskoli <oliskoli>
Sat, 27 Jan 2007 21:57:12 +0000 (21:57 +0000)
Makefile.in
style/kompass_tk.style [new file with mode: 0644]
style/kompass_wp.style [new file with mode: 0644]

index 2783ba4cd5511a868e7e4d849f180ed663c87c7a..4f3964f1ff7fd79075d443f7a97d2be000d3d8ee 100644 (file)
@@ -842,5 +842,5 @@ zlib/trees.o: zlib/trees.c zlib/deflate.h zlib/zutil.h zlib/zlib.h \
   zlib/zconf.h zlib/trees.h
 zlib/uncompr.o: zlib/uncompr.c zlib/zlib.h zlib/zconf.h
 zlib/zutil.o: zlib/zutil.c zlib/zutil.h zlib/zlib.h zlib/zconf.h
-internal_styles.c: mkstyle.sh style/arc.style style/cambridge.style style/csv.style style/cup.style style/custom.style style/dna.style style/fugawi.style style/garmin301.style style/garmin_poi.style style/geonet.style style/gpsdrive.style style/gpsdrivetrack.style style/gpsman.style style/ktf2.style style/kwf2.style style/mapconverter.style style/mxf.style style/nima.style style/openoffice.style style/s_and_t.style style/saplus.style style/sportsim.style style/tabsep.style style/xmap2006.style style/xmap.style style/xmapwpt.style
+internal_styles.c: mkstyle.sh style/arc.style style/cambridge.style style/csv.style style/cup.style style/custom.style style/dna.style style/fugawi.style style/garmin301.style style/garmin_poi.style style/geonet.style style/gpsdrive.style style/gpsdrivetrack.style style/gpsman.style style/ktf2.style style/kwf2.style style/mapconverter.style style/mxf.style style/nima.style style/openoffice.style style/s_and_t.style style/saplus.style style/sportsim.style style/tabsep.style style/xmap2006.style style/xmap.style style/xmapwpt.style style/kompass_wp.style style/kompass_tk.style
        ./mkstyle.sh > internal_styles.c || (rm -f internal_styles.c ; exit 1)
diff --git a/style/kompass_tk.style b/style/kompass_tk.style
new file mode 100644 (file)
index 0000000..2b6ffaf
--- /dev/null
@@ -0,0 +1,18 @@
+# gpsbabel XCSV style file
+#
+# Format: Kompass / Deutscher Alpenverein (DAV) Waypoints
+# Author: Olaf Klein
+#   Date: 01/10/2007
+#
+# 
+DESCRIPTION            Kompass (DAV) Track (.tk)
+DATATYPE               TRACK
+EXTENSION              wp
+FIELD_DELIMITER                COMMA
+RECORD_DELIMITER       NEWLINE
+BADCHARS               ,"
+#
+# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE:
+#
+IFIELD LAT_DECIMAL, "", "%.7f"
+IFIELD LON_DECIMAL, "", "%.7f"
diff --git a/style/kompass_wp.style b/style/kompass_wp.style
new file mode 100644 (file)
index 0000000..2f4db45
--- /dev/null
@@ -0,0 +1,26 @@
+# gpsbabel XCSV style file
+#
+# Format: Kompass / Deutscher Alpenverein (DAV) Waypoints
+# Author: Olaf Klein
+#   Date: 01/10/2007
+#
+# 
+DESCRIPTION            Kompass (DAV) Waypoints (.wp)
+DATATYPE               WAYPOINT
+EXTENSION              wp
+ENCODING               UTF-8
+FIELD_DELIMITER                SEMICOLON
+RECORD_DELIMITER       CRNEWLINE
+BADCHARS               ,"
+#
+# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE:
+#
+IFIELD SHORTNAME, "", "%s"
+IFIELD LON_DECIMAL, "", "%.7f"
+IFIELD LAT_DECIMAL, "", "%.7f"
+IFIELD ALT_METERS, "", "%.0f"
+IFIELD LOCAL_TIME,"","%d.%m.%Y %H:%M:%S"
+IFIELD CONSTANT, "Icons\Wegpunkt grĂ¼n.bmp", "%s"
+IFIELD IGNORE, "", "%s"
+IFIELD  CONSTANT, "1", "%s"                    # unknown
+IFIELD DESCRIPTION, "", "%s"